package com.zero.clinic.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class PatientRegister {
    private Long patientRegisterId;

    private String patientName;

    private Long patientGender;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date patientBirthday;
    // 定义一个patientBirthdayStr用于在更新门诊挂号信息时传给前端
    private String patientBirthdayStr;

    private String patientIdCard;

    private String patientAddress;

    private Long registerDept;

    private Long registerDoctor;

    private Long registerType;

    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss", timezone = "GMT+8")
    private Date registerTime;
    // 定义一个registerTimeStr用于在更新门诊挂号信息时传给前端
    private String registerTimeStr;

    private Long seeDoctorTime;

    private Long registerOperator;

    private Long status;

    private String deptName;
    private String doctorName;
    private String registerName;
    private String totalMoney;
    private String registerOperatorName;

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getPatientBirthdayStr() {
        return patientBirthdayStr;
    }

    public void setPatientBirthdayStr(String patientBirthdayStr) {
        this.patientBirthdayStr = patientBirthdayStr;
    }

    public String getRegisterTimeStr() {
        return registerTimeStr;
    }

    public void setRegisterTimeStr(String registerTimeStr) {
        this.registerTimeStr = registerTimeStr;
    }

    public String getRegisterOperatorName() {
        return registerOperatorName;
    }

    public void setRegisterOperatorName(String registerOperatorName) {
        this.registerOperatorName = registerOperatorName;
    }

    public Long getRegisterOperator() {
        return registerOperator;
    }

    public void setRegisterOperator(Long registerOperator) {
        this.registerOperator = registerOperator;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getRegisterName() {
        return registerName;
    }

    public void setRegisterName(String registerName) {
        this.registerName = registerName;
    }

    public Long getPatientRegisterId() {
        return patientRegisterId;
    }

    public void setPatientRegisterId(Long patientRegisterId) {
        this.patientRegisterId = patientRegisterId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Long getPatientGender() {
        return patientGender;
    }

    public void setPatientGender(Long patientGender) {
        this.patientGender = patientGender;
    }

    public Date getPatientBirthday() {
        return patientBirthday;
    }

    public void setPatientBirthday(Date patientBirthday) {
        this.patientBirthday = patientBirthday;
    }

    public String getPatientIdCard() {
        return patientIdCard;
    }

    public void setPatientIdCard(String patientIdCard) {
        this.patientIdCard = patientIdCard;
    }

    public String getPatientAddress() {
        return patientAddress;
    }

    public void setPatientAddress(String patientAddress) {
        this.patientAddress = patientAddress;
    }

    public Long getRegisterDept() {
        return registerDept;
    }

    public void setRegisterDept(Long registerDept) {
        this.registerDept = registerDept;
    }

    public Long getRegisterDoctor() {
        return registerDoctor;
    }

    public void setRegisterDoctor(Long registerDoctor) {
        this.registerDoctor = registerDoctor;
    }

    public Long getRegisterType() {
        return registerType;
    }

    public void setRegisterType(Long registerType) {
        this.registerType = registerType;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Long getSeeDoctorTime() {
        return seeDoctorTime;
    }

    public void setSeeDoctorTime(Long seeDoctorTime) {
        this.seeDoctorTime = seeDoctorTime;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "PatientRegister{" +
                "patientRegisterId=" + patientRegisterId +
                ", patientName='" + patientName + '\'' +
                ", patientGender=" + patientGender +
                ", patientBirthday=" + patientBirthday +
                ", patientBirthdayStr='" + patientBirthdayStr + '\'' +
                ", patientIdCard='" + patientIdCard + '\'' +
                ", patientAddress='" + patientAddress + '\'' +
                ", registerDept=" + registerDept +
                ", registerDoctor=" + registerDoctor +
                ", registerType=" + registerType +
                ", registerTime=" + registerTime +
                ", registerTimeStr='" + registerTimeStr + '\'' +
                ", seeDoctorTime=" + seeDoctorTime +
                ", registerOperator=" + registerOperator +
                ", status=" + status +
                ", deptName='" + deptName + '\'' +
                ", doctorName='" + doctorName + '\'' +
                ", registerName='" + registerName + '\'' +
                ", totalMoney='" + totalMoney + '\'' +
                ", registerOperatorName='" + registerOperatorName + '\'' +
                '}';
    }
}